package com.gp.service;


import com.gp.entity.TbCarType;
import com.gp.util.CommonResult;

public interface CarTypeService {

    //查询所有车辆类型  +分页 +模糊
    public CommonResult findAllType(Integer page,Integer limit,String typename);

    //依据id 删除
    public CommonResult delTypeById(Integer id);
    //插入  车辆类型
    public CommonResult insert(TbCarType tbCarType);

    //修改车型
    public CommonResult updateCarType(TbCarType tbCarType);
}
